body {
  background-color: black;
  font-family: sans-serif;
}

.container {
  padding: 30px;
}

h2 {
  color: white;
  font-weight: lighter;
}

p {
  color: white;
  font-size: 36px;
  cursor: pointer;
}

.p1 {
  color: transparent;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.p1:hover {
  color: white;
}

.glitch {
  position: relative;
}

@-webkit-keyframes noise-anim {
  0% {
    clip: rect(27px, 9999px, 39px, 0);
  }
  5% {
    clip: rect(7px, 9999px, 36px, 0);
  }
  10% {
    clip: rect(11px, 9999px, 23px, 0);
  }
  15% {
    clip: rect(9px, 9999px, 22px, 0);
  }
  20% {
    clip: rect(95px, 9999px, 73px, 0);
  }
  25% {
    clip: rect(23px, 9999px, 3px, 0);
  }
  30% {
    clip: rect(80px, 9999px, 1px, 0);
  }
  35% {
    clip: rect(26px, 9999px, 20px, 0);
  }
  40% {
    clip: rect(22px, 9999px, 29px, 0);
  }
  45% {
    clip: rect(19px, 9999px, 52px, 0);
  }
  50% {
    clip: rect(21px, 9999px, 18px, 0);
  }
  55% {
    clip: rect(25px, 9999px, 18px, 0);
  }
  60% {
    clip: rect(70px, 9999px, 33px, 0);
  }
  65% {
    clip: rect(90px, 9999px, 28px, 0);
  }
  70% {
    clip: rect(100px, 9999px, 35px, 0);
  }
  75% {
    clip: rect(91px, 9999px, 49px, 0);
  }
  80% {
    clip: rect(73px, 9999px, 64px, 0);
  }
  85% {
    clip: rect(23px, 9999px, 73px, 0);
  }
  90% {
    clip: rect(72px, 9999px, 52px, 0);
  }
  95% {
    clip: rect(13px, 9999px, 99px, 0);
  }
  100% {
    clip: rect(25px, 9999px, 80px, 0);
  }
}

@keyframes noise-anim {
  0% {
    clip: rect(27px, 9999px, 39px, 0);
  }
  5% {
    clip: rect(7px, 9999px, 36px, 0);
  }
  10% {
    clip: rect(11px, 9999px, 23px, 0);
  }
  15% {
    clip: rect(9px, 9999px, 22px, 0);
  }
  20% {
    clip: rect(95px, 9999px, 73px, 0);
  }
  25% {
    clip: rect(23px, 9999px, 3px, 0);
  }
  30% {
    clip: rect(80px, 9999px, 1px, 0);
  }
  35% {
    clip: rect(26px, 9999px, 20px, 0);
  }
  40% {
    clip: rect(22px, 9999px, 29px, 0);
  }
  45% {
    clip: rect(19px, 9999px, 52px, 0);
  }
  50% {
    clip: rect(21px, 9999px, 18px, 0);
  }
  55% {
    clip: rect(25px, 9999px, 18px, 0);
  }
  60% {
    clip: rect(70px, 9999px, 33px, 0);
  }
  65% {
    clip: rect(90px, 9999px, 28px, 0);
  }
  70% {
    clip: rect(100px, 9999px, 35px, 0);
  }
  75% {
    clip: rect(91px, 9999px, 49px, 0);
  }
  80% {
    clip: rect(73px, 9999px, 64px, 0);
  }
  85% {
    clip: rect(23px, 9999px, 73px, 0);
  }
  90% {
    clip: rect(72px, 9999px, 52px, 0);
  }
  95% {
    clip: rect(13px, 9999px, 99px, 0);
  }
  100% {
    clip: rect(25px, 9999px, 80px, 0);
  }
}
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 2px;
  text-shadow: -1px 0 red;
  top: 0;
  color: white;
  background: black;
  overflow: hidden;
  clip: rect(0, 900px, 0, 0);
  -webkit-animation: noise-anim 2s infinite linear alternate-reverse;
          animation: noise-anim 2s infinite linear alternate-reverse;
}

@-webkit-keyframes noise-anim-2 {
  0% {
    clip: rect(14px, 9999px, 58px, 0);
  }
  5% {
    clip: rect(81px, 9999px, 27px, 0);
  }
  10% {
    clip: rect(39px, 9999px, 58px, 0);
  }
  15% {
    clip: rect(12px, 9999px, 86px, 0);
  }
  20% {
    clip: rect(22px, 9999px, 11px, 0);
  }
  25% {
    clip: rect(31px, 9999px, 37px, 0);
  }
  30% {
    clip: rect(55px, 9999px, 64px, 0);
  }
  35% {
    clip: rect(24px, 9999px, 64px, 0);
  }
  40% {
    clip: rect(16px, 9999px, 33px, 0);
  }
  45% {
    clip: rect(40px, 9999px, 5px, 0);
  }
  50% {
    clip: rect(30px, 9999px, 38px, 0);
  }
  55% {
    clip: rect(46px, 9999px, 73px, 0);
  }
  60% {
    clip: rect(78px, 9999px, 41px, 0);
  }
  65% {
    clip: rect(18px, 9999px, 98px, 0);
  }
  70% {
    clip: rect(52px, 9999px, 11px, 0);
  }
  75% {
    clip: rect(86px, 9999px, 14px, 0);
  }
  80% {
    clip: rect(37px, 9999px, 60px, 0);
  }
  85% {
    clip: rect(94px, 9999px, 96px, 0);
  }
  90% {
    clip: rect(17px, 9999px, 21px, 0);
  }
  95% {
    clip: rect(81px, 9999px, 59px, 0);
  }
  100% {
    clip: rect(79px, 9999px, 15px, 0);
  }
}

@keyframes noise-anim-2 {
  0% {
    clip: rect(14px, 9999px, 58px, 0);
  }
  5% {
    clip: rect(81px, 9999px, 27px, 0);
  }
  10% {
    clip: rect(39px, 9999px, 58px, 0);
  }
  15% {
    clip: rect(12px, 9999px, 86px, 0);
  }
  20% {
    clip: rect(22px, 9999px, 11px, 0);
  }
  25% {
    clip: rect(31px, 9999px, 37px, 0);
  }
  30% {
    clip: rect(55px, 9999px, 64px, 0);
  }
  35% {
    clip: rect(24px, 9999px, 64px, 0);
  }
  40% {
    clip: rect(16px, 9999px, 33px, 0);
  }
  45% {
    clip: rect(40px, 9999px, 5px, 0);
  }
  50% {
    clip: rect(30px, 9999px, 38px, 0);
  }
  55% {
    clip: rect(46px, 9999px, 73px, 0);
  }
  60% {
    clip: rect(78px, 9999px, 41px, 0);
  }
  65% {
    clip: rect(18px, 9999px, 98px, 0);
  }
  70% {
    clip: rect(52px, 9999px, 11px, 0);
  }
  75% {
    clip: rect(86px, 9999px, 14px, 0);
  }
  80% {
    clip: rect(37px, 9999px, 60px, 0);
  }
  85% {
    clip: rect(94px, 9999px, 96px, 0);
  }
  90% {
    clip: rect(17px, 9999px, 21px, 0);
  }
  95% {
    clip: rect(81px, 9999px, 59px, 0);
  }
  100% {
    clip: rect(79px, 9999px, 15px, 0);
  }
}
.glitch::before {
  content: attr(data-text);
  position: absolute;
  left: -1px;
  text-shadow: 1px 0 black;
  top: 0;
  color: white;
  background: black;
  overflow: hidden;
  clip: rect(0, 900px, 0, 0);
  -webkit-animation: noise-anim-2 3s infinite linear alternate-reverse;
          animation: noise-anim-2 3s infinite linear alternate-reverse;
}

.p3.glitch {
  color: transparent;
  text-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
  -webkit-transition: all 0.2s ease-out;
  transition: all 0.2s ease-out;
}
.p3.glitch:hover {
  color: white;
}

.p3.glitch::after {
  opacity: 0.2;
  text-shadow: -3px 0 rgba(255, 0, 0, 0.9);
}

.p3.glitch::before {
  opacity: 0.2;
  text-shadow: 1px 0 rgba(255, 255, 255, 0.8);
}
